package cn.org.farseer.sweetftp.manager.site;

import java.io.Serializable;
import java.util.Map;

/**
 * 作者 : [Farseer.org] 简洋  —  2009-7-28
 * 
 * 项目 : [Farseer.org] SweetFTP
 */
public class SiteGroup  implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 唯一标识
	 */
	private String id;    
	
	/**
	 * 名称
	 */
	private String name;  
	
	/**
	 * 说明
	 */
	private String note;    
	
	/**
	 * 站点组成员
	 */
	private Map<String,Site> sites;   
	
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getNote()
	{
		return note;
	}
	public void setNote(String note)
	{
		this.note = note;
	}
	public Map<String, Site> getSites()
	{
		return sites;
	}
	public void setSites(Map<String, Site> sites)
	{
		this.sites = sites;
	}

	public String toString()
	{
		return "id : [" + id + "]   name : [" + name + "] note : [" + note + "] sites.size : [" + (sites == null ? 0 : sites.size()) + "]";
	}
	
	
	
}
